<meta charset="utf-8">
<link rel="stylesheet" href="./渐变布局.css">

<h1>退出ing</h1>

<script>
    localStorage.clear()
    // localStorage.removeItem('uname')---也ok

    alert('已退出，跳转中...')
    setTimeout(() => {
        location.href = './login.html'
    }, 2000)
</script>